package com.wang.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wang.Dto.UserDTO;
import com.wang.Dto.UserPasswordDTO;
import com.wang.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户信息表 服务类
 * </p>
 *
 * @author anonymous
 * @since 2022-05-16
 */
@Service
public interface UserService extends IService<User> {
        UserDTO login(UserDTO userDTO);

        User register(UserDTO userDTO);

        void updatePassword(UserPasswordDTO userPasswordDTO);
//        Page<User> findPage(Page<User> objectPage, String username, String nickname);
}
